<template>
  <div v-if="visible" class="simple-message-overlay">
    <div class="simple-message">{{ message }}</div>
  </div>
</template>

<script setup lang="ts">
import { defineProps } from 'vue'

defineProps<{ 
  visible: boolean
  message: string
  duration?: number
}>()
</script>

<style scoped>
.simple-message-overlay {
  position: fixed;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.simple-message {
  max-width: 84vw;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  border-radius: 11px;
  padding: 14px 56px;
  font-size: 28px;
  line-height: 1.5;
  text-align: center;
  white-space: pre-wrap;
}
</style>


